<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Library Evolutionary Algorithms for Clustering (LEAC): nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="leac_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Library Evolutionary Algorithms for Clustering (LEAC)
   &#160;<span id="projectnumber">Version 1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacenearest.html">nearest</a></li><li class="navelem"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classnearest_1_1_nearest_centroids-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Stores the relationship between centroids, the closest and its distance.  
 <a href="classnearest_1_1_nearest_centroids.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classnearest_1_1_nearest_centroids__coll__graph.svg" width="215" height="338"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a92f1697e5923ce47dbaca2cb7da64635"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a92f1697e5923ce47dbaca2cb7da64635">NearestCentroids</a> ()</td></tr>
<tr class="separator:a92f1697e5923ce47dbaca2cb7da64635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf58fbd97457fd70ce54079e4078c3aa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#adf58fbd97457fd70ce54079e4078c3aa">NearestCentroids</a> (const T_CLUSTERIDX aimidx_nearestClusterK, T_DIST airt_distCentroidCentroid, bool aib_distRecalculate)</td></tr>
<tr class="separator:adf58fbd97457fd70ce54079e4078c3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52008fccba07d92da7f53747562dd10"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#af52008fccba07d92da7f53747562dd10">NearestCentroids</a> (const <a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;ainearcent_b)</td></tr>
<tr class="separator:af52008fccba07d92da7f53747562dd10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad696ba7c96fd5d94a094df293bf561c1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#ad696ba7c96fd5d94a094df293bf561c1">NearestCentroids</a> (<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&amp;ainearcent_b)</td></tr>
<tr class="separator:ad696ba7c96fd5d94a094df293bf561c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7730ee14b5b57c1d29ffb59033a4591d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a7730ee14b5b57c1d29ffb59033a4591d">~NearestCentroids</a> ()</td></tr>
<tr class="separator:a7730ee14b5b57c1d29ffb59033a4591d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7061ecafca05784cdeee83cd704ab34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#ac7061ecafca05784cdeee83cd704ab34">operator=</a> (const <a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;ainearcent_b)</td></tr>
<tr class="separator:ac7061ecafca05784cdeee83cd704ab34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e6ad28f20cc1f7fc338aa101bbc6b18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a4e6ad28f20cc1f7fc338aa101bbc6b18">operator=</a> (<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&amp;ainearcent_b)</td></tr>
<tr class="separator:a4e6ad28f20cc1f7fc338aa101bbc6b18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa348cce0d86d36befefbbbdef06e985"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#afa348cce0d86d36befefbbbdef06e985">setDistCentroidCentroid</a> (const T_DIST airt_distCentroidCentroid)</td></tr>
<tr class="separator:afa348cce0d86d36befefbbbdef06e985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae655a2ae18850690297948dc48983c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a0ae655a2ae18850690297948dc48983c">setNearestClusterK</a> (const T_CLUSTERIDX aimidx_midx_nearestClusterK)</td></tr>
<tr class="separator:a0ae655a2ae18850690297948dc48983c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a4333e0b8654230d82e3d04156f5db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a98a4333e0b8654230d82e3d04156f5db">setDistRecalculate</a> (const bool aib_distRecalculate)</td></tr>
<tr class="separator:a98a4333e0b8654230d82e3d04156f5db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f0275e10c231a5f2a6e62e400048a8"><td class="memItemLeft" align="right" valign="top">T_DIST&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#ad1f0275e10c231a5f2a6e62e400048a8">getDistCentroidCentroid</a> () const</td></tr>
<tr class="separator:ad1f0275e10c231a5f2a6e62e400048a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84c46e680f0465aa96dd8ddc524ef215"><td class="memItemLeft" align="right" valign="top">T_CLUSTERIDX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a84c46e680f0465aa96dd8ddc524ef215">getNearestClusterK</a> () const</td></tr>
<tr class="separator:a84c46e680f0465aa96dd8ddc524ef215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7166aa1c05aa9640d11d51677d53890e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a7166aa1c05aa9640d11d51677d53890e">getDistRecalculate</a> ()</td></tr>
<tr class="separator:a7166aa1c05aa9640d11d51677d53890e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76472d35ffd9f82d287c06efd77fa06b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a76472d35ffd9f82d287c06efd77fa06b">menor</a> (const <a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_DIST, T_CLUSTERIDX &gt; &amp;ainearcent_b)</td></tr>
<tr class="separator:a76472d35ffd9f82d287c06efd77fa06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a141ceaeb19ebcdaee5c559b18c009990"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#a141ceaeb19ebcdaee5c559b18c009990">print</a> (std::ostream &amp;os=std::cout, char delim=',')</td></tr>
<tr class="separator:a141ceaeb19ebcdaee5c559b18c009990"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:abd5f8c3c812f7f4d3ca21066496f0f1b"><td class="memItemLeft" align="right" valign="top">T_CLUSTERIDX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#abd5f8c3c812f7f4d3ca21066496f0f1b">_cidx_nearestClusterK</a></td></tr>
<tr class="separator:abd5f8c3c812f7f4d3ca21066496f0f1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1293f4149e02ec80d523791d310a676"><td class="memItemLeft" align="right" valign="top">T_DIST&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#ae1293f4149e02ec80d523791d310a676">_rt_distCentroidCentroid</a></td></tr>
<tr class="separator:ae1293f4149e02ec80d523791d310a676"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1dbf3bd365b30434017ce9697e61d7c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnearest_1_1_nearest_centroids.html#ac1dbf3bd365b30434017ce9697e61d7c">_b_distRecalculate</a></td></tr>
<tr class="separator:ac1dbf3bd365b30434017ce9697e61d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T_CLUSTERIDX, class T_DIST&gt;<br />
class nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;</h3>

<p>Stores the relationship between centroids, the closest and its distance. </p>

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00032">32</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a92f1697e5923ce47dbaca2cb7da64635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92f1697e5923ce47dbaca2cb7da64635">&#9670;&nbsp;</a></span>NearestCentroids() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00035">35</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

</div>
</div>
<a id="adf58fbd97457fd70ce54079e4078c3aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf58fbd97457fd70ce54079e4078c3aa">&#9670;&nbsp;</a></span>NearestCentroids() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a> </td>
          <td>(</td>
          <td class="paramtype">const T_CLUSTERIDX&#160;</td>
          <td class="paramname"><em>aimidx_nearestClusterK</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T_DIST&#160;</td>
          <td class="paramname"><em>airt_distCentroidCentroid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>aib_distRecalculate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00041">41</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

</div>
</div>
<a id="af52008fccba07d92da7f53747562dd10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af52008fccba07d92da7f53747562dd10">&#9670;&nbsp;</a></span>NearestCentroids() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&#160;</td>
          <td class="paramname"><em>ainearcent_b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00052">52</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

</div>
</div>
<a id="ad696ba7c96fd5d94a094df293bf561c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad696ba7c96fd5d94a094df293bf561c1">&#9670;&nbsp;</a></span>NearestCentroids() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>ainearcent_b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00060">60</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00159">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00157">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="a7730ee14b5b57c1d29ffb59033a4591d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7730ee14b5b57c1d29ffb59033a4591d">&#9670;&nbsp;</a></span>~NearestCentroids()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::~<a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00070">70</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad1f0275e10c231a5f2a6e62e400048a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1f0275e10c231a5f2a6e62e400048a8">&#9670;&nbsp;</a></span>getDistCentroidCentroid()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T_DIST <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::getDistCentroidCentroid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00123">123</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="a7166aa1c05aa9640d11d51677d53890e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7166aa1c05aa9640d11d51677d53890e">&#9670;&nbsp;</a></span>getDistRecalculate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::getDistRecalculate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00137">137</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00159">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</a>.</p>

</div>
</div>
<a id="a84c46e680f0465aa96dd8ddc524ef215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84c46e680f0465aa96dd8ddc524ef215">&#9670;&nbsp;</a></span>getNearestClusterK()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T_CLUSTERIDX <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::getNearestClusterK </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00130">130</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00157">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</a>.</p>

</div>
</div>
<a id="a76472d35ffd9f82d287c06efd77fa06b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76472d35ffd9f82d287c06efd77fa06b">&#9670;&nbsp;</a></span>menor()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::menor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_DIST, T_CLUSTERIDX &gt; &amp;&#160;</td>
          <td class="paramname"><em>ainearcent_b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00142">142</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="ac7061ecafca05784cdeee83cd704ab34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7061ecafca05784cdeee83cd704ab34">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt;T_CLUSTERIDX,T_DIST&gt;&amp; <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&#160;</td>
          <td class="paramname"><em>ainearcent_b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00073">73</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00159">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00157">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="a4e6ad28f20cc1f7fc338aa101bbc6b18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e6ad28f20cc1f7fc338aa101bbc6b18">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt;T_CLUSTERIDX,T_DIST&gt;&amp; <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnearest_1_1_nearest_centroids.html">NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>ainearcent_b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00085">85</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00159">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00157">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="a141ceaeb19ebcdaee5c559b18c009990"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a141ceaeb19ebcdaee5c559b18c009990">&#9670;&nbsp;</a></span>print()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::print </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em> = <code>std::cout</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>delim</em> = <code>','</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00147">147</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00159">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00157">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="afa348cce0d86d36befefbbbdef06e985"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa348cce0d86d36befefbbbdef06e985">&#9670;&nbsp;</a></span>setDistCentroidCentroid()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::setDistCentroidCentroid </td>
          <td>(</td>
          <td class="paramtype">const T_DIST&#160;</td>
          <td class="paramname"><em>airt_distCentroidCentroid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00102">102</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00158">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</a>.</p>

</div>
</div>
<a id="a98a4333e0b8654230d82e3d04156f5db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98a4333e0b8654230d82e3d04156f5db">&#9670;&nbsp;</a></span>setDistRecalculate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::setDistRecalculate </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>aib_distRecalculate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00116">116</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00159">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</a>.</p>

</div>
</div>
<a id="a0ae655a2ae18850690297948dc48983c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ae655a2ae18850690297948dc48983c">&#9670;&nbsp;</a></span>setNearestClusterK()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::setNearestClusterK </td>
          <td>(</td>
          <td class="paramtype">const T_CLUSTERIDX&#160;</td>
          <td class="paramname"><em>aimidx_midx_nearestClusterK</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00109">109</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">References <a class="el" href="nearest__centroids_8hpp_source.html#l00157">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac1dbf3bd365b30434017ce9697e61d7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1dbf3bd365b30434017ce9697e61d7c">&#9670;&nbsp;</a></span>_b_distRecalculate</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::_b_distRecalculate</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00159">159</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="nearest__centroids_8hpp_source.html#l00137">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::getDistRecalculate()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00060">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::NearestCentroids()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00073">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::operator=()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00147">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::print()</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00116">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::setDistRecalculate()</a>.</p>

</div>
</div>
<a id="abd5f8c3c812f7f4d3ca21066496f0f1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd5f8c3c812f7f4d3ca21066496f0f1b">&#9670;&nbsp;</a></span>_cidx_nearestClusterK</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T_CLUSTERIDX <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::_cidx_nearestClusterK</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00157">157</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="nearest__centroids_8hpp_source.html#l00130">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::getNearestClusterK()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00060">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::NearestCentroids()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00073">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::operator=()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00147">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::print()</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00109">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::setNearestClusterK()</a>.</p>

</div>
</div>
<a id="ae1293f4149e02ec80d523791d310a676"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1293f4149e02ec80d523791d310a676">&#9670;&nbsp;</a></span>_rt_distCentroidCentroid</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_CLUSTERIDX, class T_DIST&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T_DIST <a class="el" href="classnearest_1_1_nearest_centroids.html">nearest::NearestCentroids</a>&lt; T_CLUSTERIDX, T_DIST &gt;::_rt_distCentroidCentroid</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nearest__centroids_8hpp_source.html#l00158">158</a> of file <a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="nearest__centroids_8hpp_source.html#l00123">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::getDistCentroidCentroid()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00142">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::menor()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00060">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::NearestCentroids()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00073">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::operator=()</a>, <a class="el" href="nearest__centroids_8hpp_source.html#l00147">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::print()</a>, and <a class="el" href="nearest__centroids_8hpp_source.html#l00102">nearest::NearestCentroids&lt; T_CLUSTERIDX, T_DIST &gt;::setDistCentroidCentroid()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="nearest__centroids_8hpp_source.html">nearest_centroids.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 19 2019 08:58:36 for Library Evolutionary Algorithms for Clustering (LEAC) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
